﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Poplar.Passport.Models
{
    /// <summary>
    /// 用户
    /// </summary>
    public class User
    {
        /// <summary>
        /// id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string Mobile { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// 逻辑删除标志
        /// </summary>
        public bool IsDeleted { get; set; }
    }

    /// <summary>
    /// 性别枚举
    /// </summary>
    public enum UserGenderEnum
    {
        /// <summary>
        /// 男性
        /// </summary>
        Male = 0,

        /// <summary>
        /// 女性
        /// </summary>
        Female = 1,

        /// <summary>
        /// 未知
        /// </summary>
        UnKonw = 2
    }
}
